/**
 * 全局静态text文本翻译分支
 */
runOnStartup(async runtime => {
    setInterval(function () {
        cc_Game.Game_StringBranchBase.TextBrance()
    }, 100)
})
cc_Game.Game_StringBranchBase =
    {
        TextBrance: function () {
            for (let branch of runtime.objects.f_StringBrance.instances()) {
                var lan = Game_GameStringBranch.Languge
                if (branch.instVars.isDymatic) return;
                branch.text = branch.instVars[Game_GameStringBranch.Languge]
           }
        },
        /**
         * 自定义一些 需要翻译的分支
         * @private
         */
        _doCustomeBrance: function () {
        }
    }

export default Game_StringBranchBase